Solution for PAN applying problem